Posts

Post not yet marked as solved
1 Replies
Yes, you can do it in a variety of ways. One of the coolest is using the new Canvas View, where you can use old-style programming to place characters wherever you want. I used this to draw text along a curve. I just built up an AttributedString and stepped through each glyph in it and drew them one by one.
Post not yet marked as solved
5 Replies
I would also like to know!
Post not yet marked as solved
5 Replies
This is filed as Feedback #FB7626059"`NSStoryBoard` `instantiateInitialController(creator:_)` crashes when trying to create an `NSWindowController`"
Post not yet marked as solved
5 Replies
I have this exact same bug / bad error message when I try to use a creator block to make an NSWindowController. Someone screwed up.-Wil
Post not yet marked as solved
7 Replies
Ah, it looks like this is caused by loading image assets that aren't in the an `xcassets` folder.
Post not yet marked as solved
7 Replies
I'm seeing this in 10.15 Beta (19A573a), so hopefully it's a bug they'll fix.-W
Post marked as Apple Recommended
Check out this source code from Apple: https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/UUID.swiftThere are a bunch of different access patterns illustrated in here. One that I hadn't know about was `withUnsafePointer(to:)`.-Wil